package com.example;
import com.example.ws.benchmarkserver.WebSocketServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
public class WsApplication {

    public static void main(String[] args) {
        SpringApplication.run(WsApplication.class, args);
        try {
            WebSocketServer.serverRun();
        } catch (Exception e) {
           e.printStackTrace();
        }

    }

}
